/**
 * tttt service
 */

import { factories } from '@strapi/strapi';

export default factories.createCoreService('api::tttt.tttt',  ({ strapi }) => ({

  async test(params) {
    console.log(strapi,'strapi');
    // 自定义逻辑
    return strapi.entityService.findMany('api::article.article', {
      filters: { featured: true },
      ...params
    });
  }
})
);
